package com.example.prodecttest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 设备表
 * @author: fan
 * @date: 2022/2/18 10:28
 * @version: 1.0
 */
@Data
@TableName("equipment")
public class Equipment {

    @ApiModelProperty("主键")
    @TableId(type=IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备类型主键")
    private Integer equipmentTypeId;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("状态")
    private Integer status;

}
